﻿#region

using System.Collections.Generic;
using BTL.OnlineTestingSocial.Application.Web.Infrastructure.ViewModels;
using BTL.OnlineTestingSocial.Domain.TestingEngine;

#endregion

namespace BTL.OnlineTestingSocial.Application.Facade
{
    public interface IOnlineTestingEngineFacade
    {
        IEnumerable<Category> GetCategories();

        IEnumerable<QuestionGroupItemViewModel> GetPublicQuestionGroups(int userId, int pageSize, int pageNum);

        IEnumerable<QuestionGroupItemViewModel> GetPrivateQuestionGroups(int userId, int pageSize, int pageNum);

        bool DeleteQuestionGroup(string ids);

        bool InsertComment(string content, int? questionDetailId, int? questionGroupId, string createBy);

        bool InsertLike(bool isDislike, int? questionDetailId, int? questionGroupId, string createBy);

        QuestionGroupItem GetQuestionGroupDetail(int questionGroupId);
    }
}